<template>
  <div>
    <img id="img" src="@/assets/vue.svg">
  </div>
</template>
<script setup lang="ts">
import {Directive, ref} from 'vue'
import useBase64 from '@/hooks'

useBase64({
  el:'#img'
}).then(res=>{
  console.log(res.baseUrl)
})

</script>

<style scoped>

</style>
